- remove unneeded function (copy to the TStream code)