Added function for inserting autocommit message.