Converted ChatFormatting to enum like final class