MDL-38710 assign: fix missing setType calls