BUGFIX: NameError: global name '_add_stimulus' is not defined; was due to a self._add_stimulus withaout the leading self.