Add events separator:on_activated() and on_activated() (fix #272).