Added support for log, pow scales.