Attach request object to message function calls.