Adds support for shortcut methods whenGET, whenPOST, etc.