Added ability to provide custom request-responses.