[bugfix] Fixed the DI container's ability to call createClassInstance.