Trajectory

``std::reference_wrapper``? I'll open a bug for all the ``// Never null.``s, that's a job for another CL.