Added responses to Query API