Incorporated debug messages.