anchor.diff:  	return ..()
   
   /**
  +  * Calls qdel on the chatmessage when its parent is deleted, used to register qdel signal
  +  */
  +/datum/chatmessage/proc/on_parent_qdel()
  +	qdel(src)
  +
  +/**
     * Generates a chat message image representation
     *
     * Arguments:
  
positive.code:   * * extra_classes - Extra classes to apply to the span that holds the text
    * * lifespan - The lifespan of the message in deciseconds
    */
  /datum/chatmessage/New(text, atom/target, mob/owner, list/extra_classes = null, lifespan = CHAT_MESSAGE_LIFESPAN)
  	. = ..()
  	if (!istype(target))
  		CRASH("Invalid target given for chatmessage")
  
negative.code: /datum/chatmessage/proc/generate_image(text, atom/target, mob/owner, list/extra_classes, lifespan)
  	// Register client who owns this message
  	owned_by = owner.client
  	RegisterSignal(owned_by, COMSIG_PARENT_QDELETING, .proc/on_parent_qdel)
  
  	// Clip message
  	var/maxlen = owned_by.prefs.max_chat_length
  