Fix for extending classes in a subdirectory (e.g. drivers)
Merge pull request #2403 from groovenectar/loader-fix

Fix for extending classes in a subdirectory (e.g. drivers)