Refactored the events api to take a new param `data_type` -- and consolidated them into a single method.
Added event properties support.