Fixed method no longer present in Stream interface.