* Converted DistributedObject id usages to name.

* Deprecated some  methods.
* Fixed some tests.