Add support for RequestHandler.transform.
Clean up tests.