Support arbitrary resource class loaders (needs doc changes)
throw errors in compiler app