Further checks for badly formed YAML.