Updated notes about scope codegen rules and fixed A4-1_codegen to conform to them