Adding assert for tag and type in typified elements.