Removed deprecated event functions.