Added registry for validating uniqueness of name.
Updates after review.
Merge pull request #5 from joachimmetz/master

Added registry for validating uniqueness of name.