Adding specification of streams