def create(self, key, value=None, dir=False, ttl=None, timeout=None):
        """Creates a new key."""
        return self.adapter.set(key, value, dir=dir, ttl=ttl,
                                prev_exist=False, timeout=timeout)