Add basic functionality and test cases.