Implemented support for wildcards in module names (see #1605)