Add support for custom resource loader for design docs