Another fix for writing keywords.