def METHOD_NAME(self):
    context = self.context
    context['log'] = self.log.getChild('setup')
    setup = self._get_function('setup', self.context)
    if setup is None:
        def setup():
            pass
    return setup