Fix implementation

It would not properly stub validation methods
Merge pull request #4 from Odyl/master

Fix implementation