Added missing dependency.
Changed transactional behaviour.