Fixes #33 supporting custom resource loaders