Adapted schema loading to be compatible with classpath references (hack-ish)