Fixed minification failure by adding explicit declarations for dependency injection