Added a query to get the className of a question.