Generalize the View setup