Add editor functions