Added semicolons where needed.