MDL-38855 blocks: Fix missing setType calls