Validation library