Compiled factory method calls are now using a helper method from the DI
container.