Returns set of items.

        :param path: Regex filter on item path.

        :return: List of Item class objects.

def items(self, path=None):
        """
        Returns set of items.

        :param path: Regex filter on item path.

        :return: List of Item class objects.
        """
        items = list(self.iteritems())
        if path is not None:
            path += '$'
            regex = re.compile(path)
            items = [i for i in items if regex.match(i.path)]
        return items