Make frame func lookup local and static