Add core.GetSource method and refresh parameter to core.IndexWithParameters