Removing unnecessary debug statements