Allow configuration to be loaded from yaml.