Don't inject the upstream registry twice when making remote additions.
Add a method for creating detached commands.