Setting attr_reader for tag_names.