Implemented rate limiting.