Added `LoaderResolver` and exception classes