Merged add_tags and lib.search into lib.tags.