The AI Manager had code to serialize/deserialize objects with a user-defined prototype. However, that code is not used.
The intent was to make it possible to serialize/deserialize custom object types, but D2746 offers a more general solution to this problem and it blocks the SM migration at the moment.
As such, it is deleted.