Remove some unused code in example project.