Add methods for http method handling.