why are you passing the `$loader`, it isn't used in this method.