Remove old unneeded code.