Add pyyaml as a dependency.