Add 'Add' function. Add basic test.