Backport ability to specify multiple actions for after_commit callback