Dont directly export the query struct, it is unnecessary, Fixed some documentation