Managing cross-language ownership