registries remove old code