Fixes semicolons and syntax.