code: public boolean removeOfType(final Class<? extends Tag> type) {
  	write.lock();
  	try {
  	    return tags.remove(type) != null;
  	} finally {
  	    write.unlock();
  	}
      }
docs: Removes all tags of the specified type.
  
  @param type
  Type of tag.
  @return Whether any tags were removed.