Delete some unused/debug code