Add some snippets for eventbus.