Manage a registry of function stacks and run them.