Allow user-defined functions to execute before the push handler.