More comments / docstrings.