fixed indentation and remove passing options to EndianDefinitions#prefered_endian