Removing debug artifacts