Allow setting a custom seed.