So unpacker should have hasNext() and getNextFormat() methods to avoid returning null?