Replaced first useDecl calls in ExtractFunction to new approach.