Extract the Extensions class into another module.