All callbacks are now static functions.