Add warnings.
Forgot to assign the actual stream ops for bufstreams.
Remove unused variable.