Edit some directives