Could you also add inline documentation for <code>on/off/emit</code> as well?