Added support for saving Generations