Fix definition of on_load_async().