Would be nice if the limits are got from config or stored in variable instead of hard-coding it here. It will be be useful when enforcing it in `rest/groups.py` and other places.