Switch to record syntax for streams