Rename ToInternalType to ToDSType