Declare views as a config option rather than field