Remove traces of the old XML api code.