internal method that gets every instance of the klasses
        out of the internal plugin state.

def _get_instance(self, klasses):
        """
        internal method that gets every instance of the klasses
        out of the internal plugin state.
        """
        return [x for x in self.plugins if isinstance(x, klasses)]