docs: function createLayer(name, type, options) {
          var layerTemplate = this._drawLayerTemplates[type];
          Crafty.s(name, layerTemplate, options);
          Crafty.c(name, {
              init: function() {
                  this.requires("Renderable");
  
                  // Flag to indicate that the base component doesn't need to attach a layer
                  this._customLayer = true;
                  this.requires(layerTemplate.type);
                  this._attachToLayer(Crafty.s(name));
              },
  
              remove: function() {
                  this._detachFromLayer();
              }
          });
      }