Added beginning of AI structures.