Fixed depreciation warning.