add support for request methods.