Set views variables to configure views properly.