[core] Adds DiscreteGenerator.