Check that array of references is working.
Streamlined init and validate code generation.