Adding hooks for custom query translators