Adding new abstract classes for string and matrix questions.