Rearranged parameters for callbacks to have more useful parameters go first.