Added comments to view code.