Updated typehint after moving out the ModuleManager to its own package.