FYI: this fixes a symbol DOS issue similar to others in #1926
Project maintainers: let me know if you'd like me to move the `to_sym` stuff over into #1926. It's not there now because of the obvious merge conflict it would cause.