Removed debug code in main.