Put stream methods in a module