Switched to new bob.core.random API