Only output the type once per const block

Since it is only required for the first item of each block, this will
omit it for every entry after the first. That makes the code less
cluttered and easier to read.