Get rid of safe_interface usages in aggregator.py.