Add editor functions.