Added category query.