WIP: Generation class simplified.