added validate to document methods
Merge pull request #9 from shannonmpoole/master

added validate to document methods