protected function getTemplateVars()
 {
     $type_class_vars = array('attributes' => $this->prepareAttributeData(), 'entity_implementor' => $this->getEntityImplementor(), 'type_name' => $this->type_definition->getName(), 'options' => $this->preRenderOptions($this->type_definition->getOptions(), 12));
     return array_merge(parent::getTemplateVars(), $type_class_vars);
 }
 protected function getNamespace()
 {
     return parent::getNamespace() . '\\Reference';
 }