Removing unneeded debugging messages