Added aiType enum