Fix misisng onLoadedData handler.