require lyaml, not yaml.