Figured out how to export the doppio API without duplicating type information.

Yay.