Type bug in shared_random_state -- make sure Version is int.