Modify CBuffer class.