Emit empty blocks correctly