Fix incorrect documentation generation for type matchers.