Install ConstraintFormatter
Refactor code to use ConstraintFormatter