Added registry for validating uniqueness of name.

@destijl for review.