Needed to be self.opts, not self