If these methods are just integers, you could make them all powers of two and just OR them together instead: `GET | PUT`. Efficiency doesn't much matter for configuration, but it is actually a nice interface. The type could be changed later to something more complicated and still use the same syntax even.