Add withFilter to ResT