Add function signatures to docstrings.