Removed dependency on an external getRandomString() method.