Added class method for dynamically generating number-style enums