Add basic get methods and tests.