/// <summary>
        /// Add Version.
        /// </summary>
        /// <param name="version">Version to add.</param>
        public void AddVersion(Version version)
        {
            // Verify Parameters not null
            ApiDataValidator.NotNull(version);

            if (this.Versions == null)
            {
                this.Versions = new VersionsExtended();
            }

            this.Versions.Add(version);
        }
        /// <summary>
        /// Add an Installer.
        /// </summary>
        /// <param name="installer">Installer to Update.</param>
        /// <param name="packageVersion">Package Version to update in.</param>
        public void AddInstaller(Installer installer, string packageVersion)
        {
            // Verify Parameters not null
            ApiDataValidator.NotNull(installer);
            ApiDataValidator.NotNull(packageVersion);

            // Instantiate if null
            if (this.Versions == null)
            {
                this.Versions = new VersionsExtended();
            }

            this.Versions.AddInstaller(installer, packageVersion);
        }
        /// <summary>
        /// Add an Locale.
        /// </summary>
        /// <param name="locale">Installer to Update.</param>
        /// <param name="packageVersion">Package Version to update in.</param>
        public void AddLocale(Locale locale, string packageVersion)
        {
            // Verify Parameters not null
            ApiDataValidator.NotNull(locale);
            ApiDataValidator.NotNull(packageVersion);

            // Instantiate if null
            if (this.Versions == null)
            {
                this.Versions = new VersionsExtended();
            }

            this.Versions.AddLocale(locale, packageVersion);
        }
        /// <summary>
        /// Remove a Version.
        /// </summary>
        /// <param name="packageVersion">Version to Remove.</param>
        public void RemoveVersion(string packageVersion)
        {
            // Verify Parameters not null
            ApiDataValidator.NotNull(packageVersion);

            // Assert Versions not null
            this.AssertVersionsNotNull();

            this.Versions.Remove(packageVersion);

            if (this.Versions.Count == 0)
            {
                this.Versions = null;
            }
        }