Replace `shift` -> `remove`.
`join_tree` only switches on `table` type.