Added ability to define modules on the ParseSession as well as the global leaf scope