Remove unused code.
Merge pull request #55 from thomir/remove-unused-buffer-code

Remove unused code. (thomir)