Don't throw errors if modules are already defined. Fixes #10
Merge pull request #11 from mitar/patch-1

Don't throw errors if modules are already defined