If prefer dicts over tuples for this purpose - easier to tell what you're getting back without digging into the source.