Support prototype methods via HttpInvocation