Removes deprecated img