#to_package Use symbols for state. Fixes #3326