Add example use of repositoryClass in YAML