Fix broken examples

There was a missing `});` at the end of these examples.

Closes #14.