docs: function() {
          var id = UID();
          entities[id] = null;
          entities[id] = Crafty(id);
  
          if (arguments.length > 0) {
              entities[id].addComponent.apply(entities[id], arguments);
          }
          entities[id].setName("Entity #" + id); //set default entity human readable name
          entities[id].addComponent("obj"); //every entity automatically assumes obj
  
          Crafty.trigger("NewEntity", {
              id: id
          });
  
          return entities[id];
      }