Extract rate limiting to component.