Implements abstract method validate(..)
Merge pull request #7 from brunocascio/patch-1

Implements abstract method validate(..)