Add Buffer class.