Added custom constructor injection.