Implemented transactional model, basic test passing.