Added SemanticString and SemanticWord classes