BUG-614: migrate RuntimeGeneratedInvokerPrototype