Improve TypeMap, improve docs, bump version.