Remove unnecessary method setTagType().