Other times classes are retrofit because they are no longer needed in warfare, due to changes in tactics. For instance, the  was an aircraft carrier converted from a collier (coal-carrying ship to supply coal-fired steamships with fuel) of the Jupiter-class.
Classes can be reconfigured for redundancy in combat due to changes in military doctrine. The  is a prime example, having been converted from a collier into an aircraft carrier of the Jupiter-class.