Only allow deprecation if replacement seleceted