Stub implementation and test.