Removes redundant closing semicolon.