Fixed a missing Spring dependency injection.