Added docstrings to get rid of those warnings.