Fix loading of HierarchicalFunctions