Removes debugging codes.