Adds transform function
Adds compatible_stream_definitions to pubsub