flagrate.Element: added #on, #off, #emit, .on, .off, .emit methods