def METHOD_NAME(self, buff):
    # Write update code
    super(BrushComponent, self).METHOD_NAME(buff)
    # Reset shapes for each trial
    buff.writeIndented("{}.reset()\n".format(self.params['name']))