Remove some debugging parts.