Adapt to new CotEditor 2.0 format