Updates codebase to use the last `Box` API.