Add async query method