Added methods to clean tokens.