Feature stream

This adds stream interface implementation.