Changed documentation example of on_success callback to show that it takes two variables instead of just one.