Add prime number and random utility functions.