Fix docstrings for mod functions