Add load_task function in interface