Annotated the buffer implementation.