Renamed mapFunc to selectWhereFunc.