Dependency Injection to support minification