Implementation of ad/remove_listeners for Tag and Item classes.