Dependency resolution being used in main controller.