Refactored ContentTypesPart for less duplicationç