Updating 'alias' to accept module names

Please take a look and let me know what you think.  Happy to make any changes!