MBS-5586, both post_creation and on_creation hooks should be called from within the transaction.