Move editor configuration into constructor.