Why does this function support multiple registries, while the rest don't?