Add RecreateScriptedObject method to DbExtensions.