Classes for getting data to/from wire format.