Updated common headers.
Added endianness conversions to host byte order.