Implemented editor modes interface.