Simplified optimisation pragmas in module Stream.