Better validation encapsulation