Configuring the view handler