Update call to randomString which no longer exists.