Changes getParts to use Foldable instead of Performable

See #97