Adopt robin's anchor generation logic.
Fix a typo, closes #73.