Adding stream wrapper registration into a radom bundle doesn't seems the appropriate way.

The stream can be registered when the application boot.