AdminResources::createTree converted to static