Add on_pause/on_resume methods