Make render functions have at most 3 inputs (res, params, cb)