Fix the way callbacks are passed in repeat loaders