Set switches from consumer-info (bug 1021296)

When I added flags in a similar way it was noticeably slower on the API so I'd rather keep it fast and simple and only what we need for now. If we need flags later we can invest the time to make it fast.