raise if we can't visit the class