encapsulated add/remove into directives