Add/remove missing/obsolete semicolons