Add getQuery(Class)