Added a constructor for Part.