Fix casing of none in doc attributes