Refactoring Part object