To answer your original question, yes, adding a Module as another Module’s attribute will register the former Module as a child of the latter. Parameters of the former will also be parameters of the latter.