Fixed #4 when using lodash instead of underscore.js.