Added missing ';'s in example code

A few snippets had some missing semicolons.