Using 'lodash.omit' instead of own implementation.