Add support for --module and --target options.