Given a key and a bucket dict, as generated by dehydrate(),
        generate an appropriate instance of Bucket.

def hydrate(cls, db, bucket, limit, key):
        """
        Given a key and a bucket dict, as generated by dehydrate(),
        generate an appropriate instance of Bucket.
        """

        return cls(db, limit, key, **bucket)