Fix view class.