Added support for sub-requests in the controllers