Add implementation and test for get.