change classifier provider interface to make it more generic