Add support for multi modules.