Add missing spaces and semicolons.