Remove dispatchDataEvent(). Close #9.

Move functionality to dispatchEvent()