Modify SampleView.