Missing docstrings added.