Ensure trailing semicolons are removed from emissions.