Fixed transactional code.