Removed deprecated check