Removed unused sharing code