Fixed copy and paste bug with StringData, etc.

Changed these classes to structs instead of classes so they’d be copied
by value rather than by reference when pasting.