Use `self.cache = cache or {}` and `self.chain = chain or [self.name]`.