Add more useful methods to ByteString class.