Get rid of the events API; just use DB access instead