Add random-number and chaos generation functions.