Fixed the views to use iteritems.