Added new getPart() and removed some unused stuff.