Add support of custom scaling adjustment.