Fixed issue because of which there was a strict dependency on lodash when this module is used from node.