Remove debug function.