Fixed the docstring of demo scripts and cpp files.