Checking class existence is working just fine