Added support for recursing through modules.
Fix namespaces.
Fixed recursing through submodules and subsubmodules.