API: Encapsulate output in a single object.