Use lodash's main