restore original query creating methods on connection,
add specific methods for creating query objects