Added methods to simplify attaching streams

to simplify the syntaxes...