Changed UnitClass.getUnitTypes() to return a Set. Added getName() method. Enhanced javadoc comments.
Updated DefaultUnitClass to match the changes to UnitClass.