Internalise transaction logic.