Added AI support.