Make convertToRemoteString and convertToLocalString private