public static function paramWithPreset($preset, $parameter) {
        if (empty($preset)) {
            throw new Maestrano_Config_Error('Empty preset name, make sure you are using \'Maestrano::with($marketplace)->someMethod()\'');
        }

        if (!array_key_exists($preset, self::$config)) {
            throw new Maestrano_Config_Error("Maestrano was not configured for preset '$preset'");
        }

        if (array_key_exists($parameter, self::$config[$preset])) {
            return self::$config[$preset][$parameter];
        } else {
            throw new Maestrano_Config_Error("Preset '$preset' does not contain parameter '$parameter'");
        }
    }