Add first functions and tests.