Move loading of extensions to YAML