Adds in stateful and transactional world modifying code.