protected function createRequest($class, array $parameters)
    {
        if (!isset($parameters['credentials'])) {
            $parameters['credentials'] = new Credentials(array_intersect_key($this->getCredentialFields(), $parameters));
        }
        return new $class($parameters);
    }