Validation helpers