@classmethod
def _remove_stream(cls, stream):
    """
        Internal method. Removes a stream.

        :param stream: An instance of the :py:class:`Stream` object.
        """
    if stream in cls._streams:
        cls._streams.remove(stream)
