In a separate patch because it uses RegistryKeySet which is after the previous "more enchant api" patch.