Added autoscaling.