Changed Alignment and CharacterClass to enums