Created a `LazySchema` instance when loading a resource.