random.Import implemented in terms of Typed.Function