Added the new unit validation constraint.