Added better format suppport and Big Endian support