Remove dependency injection.