BUG: copy made things nonwritable and was used everywhere. BUG: getImmediateParents didn't include multiparents (mixins/multiply inherited).