Added purely abstract APIs for query traits