Added AsyncQuery class