Started implementing the random access buffer.