Fix on_load_async() implementation, check requirements on file load