Fixed BaseClass & BaseReferences for A.I