FIX: Fix examples

Closes #524.
Closes #522.

Ready for review/merge.
So my change here is okay for you, then? Did you actually make use of the `Function(str)` capability in your PR (e.g., in an example) anywhere that I should change as well? I didn't see anything in my quick look.