Added stub code and test suite.