Added harness for mocking.