Maybe we could make this an Enum? It'd be a more robust typecheck, and it'll go from full strings to just an integer on the wire :)