Fixes #2: Changed the way classes are discovered.