Enforce constraint validation

I'm not sure that it should be private. I want to use it at least in one place of my code.