Added Buffer class.