Implemented clearing of tokens