Remove duplicated NamedStruct class.
Fix reads with 0 bytes.

This was triggering moving onto the next block.