Adapt to changed return type of Tags::getTags().