oniContext and generators do not need to be static.