public function setHandlers(array $handlers)
    {
        $this->handlers = array_fill_keys(HandlerConfig::defaultHandlerTypes(), []);
        $this->handlers['defaults'] = [];

        foreach ($handlers as $handler => $data) {
            $this->handlers[$handler] = array_replace(
                $this->handlers[$handler],
                $data
            );
        }

        return $this;
    }