Save/load support for brains.