Convert .to_uint() -> as uint
Convert TaskRng -> ThreadRng
Convert .is_not_null() -> !.is_null()