Add referers_yaml and encodings_yaml attributes.