Removing unrequired debug statements