Aliasing almost working via CCC.
Added test for sharing via alias target name.
Corrected error message. Removed inappropriate code from shareInstance.
Removed apparently unused code as per main branch.