Move #202, #206 out of built-in features, to an example of using events