Refactored numeric generator specs.