cleanup classifier API