Add support for --modules.