exclude classes that not exist from loading
Merge pull request #2000 from ElectricMaxxx/exclude-not-existing-classes

exclude classes that not exist from loading