Made IntegerFactory static