Extract formula locks into a class