Provides the code that carries out the conversion.