Allowed shadow copies to be shared between targets.
Added target auto-mounting.
Other refactoring.