Corrected BaseAI.cpp and BaseAI.h generation, gets types now.