Small refactor to avoid `process` global and to sync it with `generate-images`.
Set[Type]
map[Type]bool/struct{}
interface{}
any