allow to pass a Proc to the exclusion_of validator