Add modules to parent.
Fix module reference.