Pass optional arguments to create_number.

We must support the use case where the optional arguments can contain an
alternative number that should be used instead of the generated one.