MDL-38744 completion: add missing setType and properly allow float