Removing old code from agents.py