note that model.children() is not recursive as outlined by fmass in Module.children() vs Module.modules()
model.children()