Adapt method on LOCALLY to minimal compilation.