Use NullReader in generated code. More WIP.