Fixed modules to use node export method