Changed hook methods to pass a "sender" object, which is the object that either is about to change or has changed. This may break existing code.
Changed hook methods to pass a "sender" object, which is the object that
either is about to change or has changed. This may break existing code.

awernick/MotionModel,sxross/MotionModel