Moved debug messages.