Refactor common code into Twitter::Enumerable module