Fix dict lookups.
Fix a couple deletion bugs and make item deletion work.
Write some docs.