Updated to check rate limit.