TypeMapper Map function