Rewrite Limit class