Uses STI to give types to DocumentTags