Minor cleanup of shareddata.