Added a few editing functions