Need to remove useless randomness functions.