Fix tag references.