Static method to simplify getPart()