Reformat code and add missing semicolon.