Access sails via req._sails in generated custom responses.