Remove trailing whitespace, add missing semicolon.