Removed random function calls.