Added code to parse scopes, entries, and text literals.