Added an interface for a buffer.