Adds attributes for specifying callbacks after adding and after removing a tag.