It's primarily core avionics systems. To keep the S-70B-2 going for much longer would require fitting a new avionics system into an old airframe, and we all know how well that works ! Re-roling the Wessex occurred in a much simpler time - that decision would not have withstood today's risk management or airworthiness processes.