Setup view modes.