Use modularized lodash functions to cut down dependencies. Closes #43