Removes some testing code.