Remove all references to insts