You should inject the loader to the class!