Refactor extendedAttributes out of Part and PartEditView