Add 'functions: false' option to random.object.