Apply callback functions