Add DependentProperties prototype. Refactoring. Separate code generation from graph creation.