Changed view class declarations to proper syntax