Add ability to parse the dictionary.

Also fix the linked list API usage.