Tidy up code formatting of Open/Closed piece