Proposed addition to stm: atomicallyIO and afterCommit