addObserver

Adds an observer to receive events.