Add docstrings to codebase.