support for weak and soft term references (work in progress)