Added missing file.
Removed global random instance.