Make Enumerable#entries compliant