Cleanup of courtesy example program.