Added documentation to buffer