Change to not using lodash.