Added throttle functionality.