Added ByteHandler as a convenience class.