Editing for consistency in code