Remove old serialiser code.