Yes, CoordSys won't have knowledge of time - looks like we should remove this line. And, no reference frame was provided because we are using the global frame - no variables being passed to the method just means it should differentiate wrt the global coordinates of that frame.