Old calls replaced wiht new ones, dispatch rules changed accordingly.
Old interface terminate/2 calls changed to modern terminate/3