added directive that all streams have a streamtype