Adding Editor class