Added base classes (Text, Category, Metric, ResultSet).