docs: function asObject(type) {
  		var map = gui.Object.map(type, mapObject, type);
  		return {
  			$object: gui.Object.extend({
  				$classname: type.$classname,
  				$instanceid: type.$instanceid,
  				$originalid: type.$originalid
  			}, map)
  		};
  	}