Implemented the empty functions and tests.