Better support for ignoremodules.