BUG: make literals and literal_names tuples instead of frozen set.