added xmldoc
added global cyclic object support