Optimize implementation
Fix type definition
Fix bug of stream split
Extend `stream` method spec
Extend `stream` method spec
Upgrade `stream` method spec