WIP -- separate polytraitref from traitref; building up to stage1