Allow pointer to structs

As a little convenience I made `Validate()` accept to pointer to structs as well.