Only import flatten from lodash