Removed unused queries