Configurable enum limit