Fixed TokenStream contract error.