Remove unnecessary semicolon and clean up some code styling.