added return type phpdoc for loadStructure()