Minor cleanup in ctypeswriter