Added some view code.