Tightened view management code.