Simplify _join_parts().
Simplify _join_parts() further.