introduced Editor class