Adding AdjustGeneration and AdjustCell classes