rename protected _beginWithClear to beginWithClear