Removed depreciation warning