Notes on generator pattern architecture.