Change converter methods to inline function.