FastScaler refactoring.