Conversion function is complete. Needs better interface.