Old code had inverted logic for detecting if the tag was already defined before. As result all built-in tags that should have been of class StructTag were also PhraseTag.
@ilic @ltoscano @aacid