AIInterface moved to model.