Updated docs for generateName()