Added Rand to Prime.