Refactor extension information related functionality into a new abstract class.