Tutorial: replace `shared` and `unique` by `managed` and `owned`