Hook up views properly