Allow better editing of self-editing directives