Update for Mining refactoring.