remove stream functions from API