Add attr_query.