Added fromString method to UnitClass enum for use in commands.