Convert some examples to use handlers.