allow weakref on EventDispatcher object