align validating interface with trait