Remove references to old code.