Assume that matching templates with no contents are type templates when resolving types.