Added getAllRootResources() to bl