Clear-all method improved.