Added first docstrings.