Added simple name duplication check.