compute: docstrings and comments behind new traversal functions