Cleaned up sharing protocol.