Implemented debug messages.