Added basic model translation machinery with test suite.