Improved handling of refs

Globs will point to each other, where applicable.
Enumerated symbols