Added changes for debugging.