public function createInstance(core_kernel_classes_Class $clazz, $label = '')
    {
        if (empty($label)) {
            $label = $this->createUniqueLabel($clazz);
        }
        return core_kernel_classes_ResourceFactory::create($clazz, $label, '');
    }