we're talking about two things here:

1. "type safety" - my (crappy) proposal would have allowed you to infer the type directly rather than coercing a string
2. "where does this bool go" - it should be hung on the handler-local data, not global