Rename agos to smas (state-machine-array's).