Update doctstrings to fit Sphinx format.