/// <summary>
        /// Add features to the given web
        /// </summary>
        /// <param name="web">SPWeb to add features to</param>
        protected virtual void AddWebFeatures(SPWeb web)
        {
            List<XElement> features = (from f in DataFile.Elements("WebFeatures")
                                  .Elements("Feature")
                                       select f).ToList();

            foreach (XElement feature in features)
            {
                Guid featureID = new Guid(feature.Attribute("ID").Value);
                try
                {
                    SharePointUtilities.ActivateFeatureIfNecessary(web, featureID);
                }
                catch (Exception exception)
                {
                    logger = new LogUtility();
                    logger.TraceDebugException(string.Format("Activation of web scoped feature with id: {0} failed!", featureID), GetType(), exception);
                    throw;
                }
            }
        }