Changed scratchBuf so multiple objects can share one scratchBuf.