Add and remove some debugging messages.