Removed deprecated event API