Implement Convert in a separate module