More changes to the ime2 example.