Removed all query classes.