Added call to AI method.