Move processing out of the callback.