Added support to call fetching class in an async task.