private function guardInvalidArguments($field, array $input, $output)
    {
        if (!in_array($field, $this->getSupportedFields())) {
            throw UnsupportedFieldException::forField($field);
        }

        if (!($output instanceof IptcInterface)) {
            throw UnsupportedOutputException::forOutput($output);
        }
    }