Patch to use enum constants for cfg.funky_type instead of numeric