Simplifies type of mapAllParts