Use content type name from directory name when stored, avoid including name element in serialized xml.