Rename target type to tag type