Cleaning up example code.