Decreased code redundancy @query class.