public function implementedEvents()
    {
        $methodMap = [
            'config/routes' => 'beforeRenderRoutes',
            'Controller/component' => 'beforeRenderComponent',
            'Controller/controller' => 'beforeRenderController',
            'Model/behavior' => 'beforeRenderBehavior',
            'Model/entity' => 'beforeRenderEntity',
            'Model/table' => 'beforeRenderTable',
            'Shell/shell' => 'beforeRenderShell',
            'View/cell' => 'beforeRenderCell',
            'View/helper' => 'beforeRenderHelper',
            'tests/test_case' => 'beforeRenderTestCase',
        ];

        $events = [];
        foreach ($methodMap as $template => $method) {
            if ($this->isType($template) && method_exists($this, $method)) {
                $events[sprintf('Bake.%s', $method)] = $method;
            }
        }

        return $events;
    }