Allow the user defined callback to run on workers as well.