Added callbacks for when a tag has been added and removed.