Don't show deprecated warning unless it really is required.