Unfinished rework of NBTTransformer