WIP: rename Generation to Sequence, Bucket class introduced.