RegistryMap - Change duplicate handling to enum.