Use a registry so plugins can register what kind of view template should be used