Completed the xml and code generation.