ClearLine method added.