Hook predefined queries to DSL