Updates to AI stuff.