Rename setStream method to appendStream