Implement Stream API