Adapted debug messages.