Fix remove command (new Registry usage).