Export query_entries and query_tags for models.