Enable prefix lookups in legacy macros