Added a start editing module to start and finish and editing session using a with statement.