Use strings instead of UTF-8 in Text class
Text
Store URIs, element names, etc. in a WeakHashMap
WeakHashMap