Remove _.filter, _.has and _.find usage.