Add a version of SetPrefix for the default registry.