Add support to handle multiple request types in a single handler