Log: Cleanup some unused code.