Move bytes to extern struct

See also this topic, very similar.