No longer using transaction.commit_on_success as it has been deprecated.