allow class names in repository definition