Add a validate_record method to collections.