Added a lot of missing semicolons