Added endian class.