Add two methods to Trajectories