Rewrite the remote assignment as a case match to make it more understandable to newcomers.