code: public <T extends Tag> T remove(String tagName) {
          return (T) this.value.remove(tagName);
      }
docs: Removes a tag from this compound tag.
  
  @param <T>     Type of tag to remove.
  @param tagName Name of the tag to remove.
  @return The removed tag.