Trajectory

Not even sure we need ``std::reference_wrapper``, but yes, these ``std::unique_ptr`` look rather silly.