Avoid setting unused variables for the view