Make find raise an error if a class is not found