Improve auxiliary function names and docstrings for connectivity.