Added group query.