Implemented rate limiter.