Changed the pseudo_random_number generator to use constructor arguments rather than having an explicit call in on_create, to cut down on boilerplate.