addObserver

Add an observer for a spatial container's state.