docs: function(object) {
  		var methods = Array.prototype.slice.call(arguments).slice(1);
  		if (!methods.length) {
  			methods = gui.Object.ownmethods(object).filter(function(name) {
  				return name[0] !== "_"; // exclude private methods
  			});
  		}
  		methods.forEach(function(name) {
  			object[name] = object[name].bind(object);
  		});
  		return object;
  	}