Add code to read the tags.