I think this class would be made cleaner and more consistent if ``directTextStyleEnabled`` and ``directParagraphStylingEnabled`` were re-implemented using the new constraints mechanism. This would mean there is only one way to enable/disable features.