Inject a variable into the execution context which provides access to all other injected vars

If a function in a library needs access to let's say f, context and response, I have to pass all of these separately to the function. It would be nice if I could pass a single ctx object instead.