Removed unused sharing code.