Rename the filter function to filterRDD to follow the API consistency. Filter() is also kept.