Specify agent when defining functions/formulas/agents.