Migration to 0.9 streams API.