Register constraint validator

It answers the need requested in #43 !