PathCollection docstring and code revue from pelson