Improved mpc example code layout.