Connectivity: add missing function removeSkeletons