Create the invocation factory.