Removed print statements from nopruning.