more doc cleanup and added cache to GMM for instance retrieval