Sharing for class