Loader event handling.