Add validation of uniqueness of name.