Added support in resources for queries and limits.