add export for query definitions.