One more iteration on the view api.
All the examples modified to cater to the new View api.