Added some hints to query-rest