Improve string for functions and fortran wrappers.
Simplify first example.