Use 'loader' rather than 'this' in closure scope.