Fixing examples.  Closes #411.