object method addObserver : Mozilla.XPCOM.observer -> string -> bool -> unit method removeObserver : Mozilla.XPCOM.observer -> string -> unit end