Updating docstrings to rest style format