Added: C writer and fixed minor inconsistencies.