Optional factory method to validate pool object
Merge pull request #54 from tikonen/master

Factory can be asked to validate pooled objects