def prefix(self, prefix):
        """
        Adds a prefix to routes contained within.
        """
        original_prefix = self._prefix
        self._prefix += prefix
        yield self
        self._prefix = original_prefix