Removed depreciation warning.