moduleNames option added

Fix for #39.