Add minimize and maximize.