public function addAction($name, ActionInterface $action, $priority = Priority::DEFAULT_PRIORITY)
    {
        $this->actions[] = array(
            'name' => $name,
            'action' => $action,
            'priority' => $priority,
        );
    }