Add ClearBuffer()/DisableState() in .h