Extend custom request methods with resultClass parameter. Refactor custom HTTP methods to remove a lot of code duplication. Fix parameters for request and return.