You can create a type for this.. or an interface..  with an return value someone can post process the result , you can chain implementations etc..