Always return request object in API. A fix caused by issues #201.