Refactor semicolon insertion methods.