public function setEvent(Parameter $Parameter, Closure $Handler) {
        /** @var $Parameter Option */
        switch (true) {
            case $Parameter instanceof Option:
                $long = $Parameter->getLong();
                if (isset($this->parameters[$long])) {
                    $this->events[$long] = $Handler;
                } else {
                    throw new ParameterNotFoundException();
                }
                break;
            default:
                throw new UnsupportedParameterTypeException();
        }
    }