Rename agent to Agent